from api_utils.base_data_api import *
from api_utils.selling_list_api import *

if __name__ == '__main__':
    base_data = BaseDate()
    response = asyncio.run(get_store_list(base_data))
    print(response.data)
    for one_store_info in response.data:
        print(len(one_store_info))
        print(one_store_info)
        print(type(one_store_info))
        print("---------------------------------------------")
    response = asyncio.run(get_selling_listing(base_data))
    for one_asin_info in response.data:
        print(one_asin_info)
        print(len(one_asin_info))
        print("===================================================")
    # from database.models.store_model import Session
    # session = Session()
    # session.close()
    # from database.models.user_model import Session
    # session = Session()
    # session.close()
    # from database.models.asin_model import Session
    # session = Session()
    # session.close()
    # pass